package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.equipment.EquipmentFaultType;

/**
 * 故障知识库Service接口
 *
 * @author ruoyi
 * @date 2023-04-19
 */
public interface IEquipmentFaultTypeService extends IService<EquipmentFaultType> {
    /**
     * 新增
     * @param equipmentFaultType
     * @return
     */
    int add(EquipmentFaultType equipmentFaultType);

    /**
     * 获取详情和图片
     * @param faultTypeId
     * @return
     */
    EquipmentFaultType getByIdWithImg(Long faultTypeId);
}
